package arcturus;

import mapProperties.EnemyEntity;

public class AI {
	
	EnemyEntity enemy;
	/*
	public AI(EnemyEntity enemy){
		this.enemy = enemy;
	}
	*/
	//====================================
		//====================================
		//====================================
	public void decideMove(){
		/*
		double userX = enemy.mapRef.user.getX() + (enemy.mapRef.user.getWidth() / 2);
		double userY = enemy.mapRef.user.getY() + (enemy.mapRef.user.getHeight() / 2);
		double userDistance = enemy.getX() - userX;
		if(userDistance < 0){
			if(userDistance < -10){
				moveRight();
			}
			if(userDistance > -200){
				shoot(userX, userY);
			}
			
		} else if(userDistance > 0){
			if(userDistance > 10){
				moveLeft();
			}
			if(userDistance < 200){
				shoot(userX, userY);
			}
			
		}
	*/
	}
	
	public void moveRight(){
		
	}
	public void moveLeft(){
		
	}
	public void stopMoving(){
		
	}
	public void shoot(double x, double y){
		/*
		if(enemy.gun.bulletCount < 3){
			enemy.shoot(x, y);
		}
		*/
	}

}

